package com.cy.basic;

interface Shape{}

class Point{}

class Circle implements Shape{
    private Point point; //has a
    private int r;
    public double doArea(){
        //Circle 与Math关系---> use a
        return Math.PI*r*r;
    }
}  //is a

class Cylinder extends Circle{}  //is a

public class ClassRelationTests {

}
